package com.task.common.info;

import java.util.Date;

import com.task.common.utils.uuid.UUID;

import lombok.Data;

/**
 * @author 迪迦.
 * @date 2025/2/11 10:45
 */
@Data
public class QuestionPageInfo {

  private Integer id;

  private String code;

  private String questionType;

  private String dataCode;

  private String showContent;

  private String promptCode;

  private String operationType;

  private Boolean fixStatus;

  private Date now;

  public QuestionPageInfo() {
  }

  public QuestionPageInfo(String questionType, String dataCode, String showContent, Date now) {
    this.code = UUID.randomUUID().toString().replace("-", "");
    this.questionType = questionType;
    this.dataCode = dataCode;
    this.showContent = showContent;
    this.now = now;
  }
  public QuestionPageInfo(String questionType, String dataCode, String showContent, String promptCode,String operationType,Date now) {
    this.code = UUID.randomUUID().toString().replace("-", "");
    this.questionType = questionType;
    this.dataCode = dataCode;
    this.promptCode = promptCode;
    this.operationType = operationType;
    this.now = now;
  }
}
